package org.spiderflow.config.permission;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static org.spiderflow.config.permission.PermissionCodeEnum.defaultval;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface PermissionCheck {
    PermissionCodeEnum perCode() default defaultval;
}
